import { Route } from 'react-keeper'
const PageTenderplan = require('./subpages/tenderplan');
const PageProcure = require('./subpages/procure');
const PagePurchase = require('./subpages/purchase');
const PageContractsign = require('./subpages/contractsign');
const PageTender = {
    page: require('./PageTender'),
    route: () => {
        return (<Route path='/tender' component={Tender} />
        )
    }
}

const Tender = () => {
    return (
        <div>
            <Route index component={PageTender.page} ></Route>
            <Route name="招标需求" path="/tenderplan" component={PageTenderplan} ></Route>
            <Route name="采购方式" path="/tenderprocure" component={PageProcure} ></Route>
            <Route name="采购结果" path="/tenderpurchase" component={PagePurchase} ></Route>
            <Route name="合同签订" path="/contractsign" component={PageContractsign} ></Route>
        </div>)
}

export default PageTender;